package cate.game.role.mail.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBMail;
import cate.game.role.mail.Mail;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "新邮件 の 通知")
public class MailAddResp implements MsgOutput {

    @NoteField(value = "新邮件数据")
    public Mail mail;

    public MailAddResp(){}

    public MailAddResp(Mail mail) {
        this.mail = mail;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBMail.ADD_MAIL_RESP;
    }
}
